package ai.tuobot.sdk.util

class EchoCancellation {
    companion object {
        init {
            System.loadLibrary("speexdspand")
        }
    }

    external fun init(sampleRate: Int, frameSize: Int)
    external fun processAudio(input: ShortArray, reference: ShortArray, output: ShortArray)
    external fun cleanup()
}